fixing layout bug in mobile