cleaning up filtering flyout menu css functionality