Calculate the preview frame from the current device screen size