unify spacer code -- add js MQ to reclass in mobile