styled controls ui and made it auto resize with directives