Fixes images not getting preloaded while swiping