tested with local server
addressed a couple of todos
removed explicit hide/show
using attrib instead of class for componant
css clean up