show video/img on top based on gallery-order setting