fix showing right menu with an offset when there is no left menu