On the moving plane method for nonlocal problems in bounded domains