added spinner to gallery while loading, moved spinner css to top level file