changed adjustBodyPosition function and corrected SO issue
improvements to toggle logic
removing old code
undefined error fixed
Merge pull request #45 from ryanbahniuk/toggle_logic

Toggle logic
Merge pull request #46 from ryanbahniuk/length_of_undefined_error

Length of undefined error
resolved merge conflicts