Changed the shark hit image flip

Changed the shark hit image flip problem from using a counter to using a
bool to find out the direction of the image.