Added and fixed previous button