Trying to fix some resizing problems in galleria