click action on pictures is registering