dropdown code should work in correct div