fix classname and arrow resizing problems