Add position:fixed to the .affix class for devices with viewports less than 767px.