changed gallery container to ng-styles and switch padding-top for 3d transform