smooth js scroll working for logo icon and permanent