Dirty fix for mobile gallery