fixed slider resize image issue