generalised calling snap-to function for any screen