Adds an optional paramater "size" to displayPartialButton