modify position and animation of buttons