Fixed scroll autoresize issue