when you click out of a input box, the correct picture comes up