assign int height variable for the scrope retarget