added new mixin in responsive-mainpage-tag.scss so the rules for media-query can be reused in edit preview; fixed edit preview for mainpages
small refactoring and explanation added