Fixed arrow buttons

Adjusted page slide jQuery functions by creating objects