Move before resize since resize seems to be limited by screen dimensions