fixed a bug iwth the x in mobile view