transition and positioning fix