Navigation button coming to right when moving from one view to another

i’m trying to send a user from clicking on a link to come to this page, the link is working well but the nav buttons are coming to the right when the user come via clicking on that link and if the user come directly to this link by just entering or refreshing then the user is showed the button on the left side(where it should be).

can anyone help me to solve this problem?