implemented sliding menu
fixed already loaded bug for menu