Always put the HDD in the HDD bay and the SSD in the optical bay. The only way the SMS (Sudden Motion Sensor) will work is in the HDD bay, as far as I know it will not activate in the optical bay, but rather will freeze your SSD when bumped.
If you just have an SSD it can also be disabled entirely to prevent freezing.
I personally have a SATA 2 SSD in the optical bay running at SATA 2 speeds, and same story with my HDD. As seen here:
Image
Image
However, if your SSD is SATA 3 it will revert to SATA 1, but the HDD will be much safer and you shouldn't have any freezing issues. That being said, SATA 1 is still perfectly fine for an SSD, I've got one in a 2007 MBP and it still flies.