Replace gif image references with png
Add mobile detection to the ACP

This functionality was half implemented so I went ahead and added a simple mobile detection function.