show edit bar only when an Image has been selected