fix mobile css init, refactored to mixin