refactor responsive image