Add functionality to scale and resize whenever a scroll movement happens