Fix sliding menu, but it works not smoothly