cleaned code removing redunant code
added navbuttons, and worked on colorswatch logic