changed layout to use relative positioning on mobile