changed breakpoint from 480 to 490, added resize function for under 490