Added share buttons to nav, cleaned up code