Click on the gear and press "turn off chat" if you don't see the gear scroll to the top of the chat panel. If this still doesn't work try closing the app (double tab the home key, press and hold till icons wiggle, press the "x" for the Facebook icon. Try powering off your iPad then turn it on...