better method to change stylesheets

hopefully fixed all the fuckups

lutoma: ach profisie