functions to set the x or y coordinates of selected

this should help in making aligning less tedious and shitty. will
change 1 coord at time of selected. probably better practice to put all
in one function and have a bool whether x or y or something…. but
actually idk. simplicity ftw