auto position button menu when menu show