Scalar boundary conditions in hyperscaling violating geometry