sub class styles & main nav functionality added