Shower doors need to swing outwards. However, pivot doors can swing both ways, which is also allowed.