changed mouse clicked to mouse pressed
moved listeners around