i have a website like:this

i want to do that repositioning red point,when browser size has changed.
i mean that think about you clicked one of 3 buttons on bottom.red point comes sliding and position at the middle of button.then you reduce the width of browser.
the red point is stays at the first position.but it should reposition according to reduced amount.
how can i do this with jquery?