Make left/right buttons functional