hide X on small screens w/ closed panel