change gif position, fix periods