fix main element spacing issue on some tablet views