multiple changes made to fix layout bugs and optimize page load times