Sliden panel problem

hello everyone.

i have a structure like this:

i’m trying to make the red panel which slide under the buttons begin from the next to the leften side of first button but i do not know how to make this happen.
can anyone help me to solve this problem?