added ability to toggle moving state when clicking on bug