Automatic page refresh on 30 seconds, background rotation function