MOM-31 Set relative position in css instead of js

for cleaner js