checking camera movement