Changing the frame height when setting top offset