restrict camera movement. fixes #10