Adding css transition effects and styling navbar