fix slider menu bug