fixes to resize and arrow animation