mobilizing site down to minimum of 500px width

i think this should cover everyone with anything since iphone 4 (640).
trying to hide spell list when no input value

doesn't work, but can't figure out why.