Changed the way styles are handled

Added 'modes' to handle scrolling vs static objects