added function to update tilezoom if window was resized