I got this for the soap in our shower and it is exactly what I wanted.  The plastic is flexible and does not slip off of the shower ledge.  Perfect!