added scrolling to gallery