gallery made working and responsive