Added sliding button functionality for login-v2