add side menu detection