setting default position for viewer