The minimum yard requirements of this article also apply to accessory buildings. However, accessory buildings may be located within rear yards to within five feet of a rear or side lot line.