Navigation logic added. Changes in styles.