fiddled again and merged changes with gallery page