Functioning prev & next lesson buttons