fixed positioning to allow for two types of y: wall and triangle