swap direction images