basic div clicking functionality