toggle thumbnail/image view