move rules for mobile devices from index to sidebar